UCF STIG Viewer Logo

The Photon operating system must be configured so that all system startup scripts are protected from unauthorized modification.


Overview

Finding ID Version Rule ID IA Controls Severity
V-256562 PHTN-30-000093 SV-256562r887360_rule Medium
Description
If system startup scripts are accessible to unauthorized modification, this could compromise the system on startup.
STIG Date
VMware vSphere 7.0 vCenter Appliance Photon OS Security Technical Implementation Guide 2023-12-01

Details

Check Text ( C-60237r887358_chk )
At the command line, run the following command:

# find /etc/rc.d/* -xdev -type f -a '(' -perm -002 -o -not -user root -o -not -group root ')' -exec ls -ld {} \;

If any files are returned, this is a finding.
Fix Text (F-60180r887359_fix)
At the command line, run the following commands for each returned file:

# chmod o-w
# chown root:root